﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001033 RID: 4147
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournGetSettleInfoScRsp : IMessage<RogueTournGetSettleInfoScRsp>, IMessage, IEquatable<RogueTournGetSettleInfoScRsp>, IDeepCloneable<RogueTournGetSettleInfoScRsp>, IBufferMessage
	{
		// Token: 0x17003463 RID: 13411
		// (get) Token: 0x0600B973 RID: 47475 RVA: 0x001F3BBF File Offset: 0x001F1DBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournGetSettleInfoScRsp> Parser
		{
			get
			{
				return RogueTournGetSettleInfoScRsp._parser;
			}
		}

		// Token: 0x17003464 RID: 13412
		// (get) Token: 0x0600B974 RID: 47476 RVA: 0x001F3BC6 File Offset: 0x001F1DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournGetSettleInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003465 RID: 13413
		// (get) Token: 0x0600B975 RID: 47477 RVA: 0x001F3BD8 File Offset: 0x001F1DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournGetSettleInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600B976 RID: 47478 RVA: 0x001F3BDF File Offset: 0x001F1DDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoScRsp()
		{
		}

		// Token: 0x0600B977 RID: 47479 RVA: 0x001F3BE8 File Offset: 0x001F1DE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoScRsp(RogueTournGetSettleInfoScRsp other) : this()
		{
			this.tournFinishInfo_ = ((other.tournFinishInfo_ != null) ? other.tournFinishInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B978 RID: 47480 RVA: 0x001F3C34 File Offset: 0x001F1E34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetSettleInfoScRsp Clone()
		{
			return new RogueTournGetSettleInfoScRsp(this);
		}

		// Token: 0x17003466 RID: 13414
		// (get) Token: 0x0600B979 RID: 47481 RVA: 0x001F3C3C File Offset: 0x001F1E3C
		// (set) Token: 0x0600B97A RID: 47482 RVA: 0x001F3C44 File Offset: 0x001F1E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFinishInfo TournFinishInfo
		{
			get
			{
				return this.tournFinishInfo_;
			}
			set
			{
				this.tournFinishInfo_ = value;
			}
		}

		// Token: 0x17003467 RID: 13415
		// (get) Token: 0x0600B97B RID: 47483 RVA: 0x001F3C4D File Offset: 0x001F1E4D
		// (set) Token: 0x0600B97C RID: 47484 RVA: 0x001F3C55 File Offset: 0x001F1E55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600B97D RID: 47485 RVA: 0x001F3C5E File Offset: 0x001F1E5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournGetSettleInfoScRsp);
		}

		// Token: 0x0600B97E RID: 47486 RVA: 0x001F3C6C File Offset: 0x001F1E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournGetSettleInfoScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TournFinishInfo, other.TournFinishInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B97F RID: 47487 RVA: 0x001F3CBC File Offset: 0x001F1EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tournFinishInfo_ != null)
			{
				num ^= this.TournFinishInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B980 RID: 47488 RVA: 0x001F3D11 File Offset: 0x001F1F11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B981 RID: 47489 RVA: 0x001F3D19 File Offset: 0x001F1F19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B982 RID: 47490 RVA: 0x001F3D24 File Offset: 0x001F1F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tournFinishInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.TournFinishInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B983 RID: 47491 RVA: 0x001F3D80 File Offset: 0x001F1F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tournFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFinishInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B984 RID: 47492 RVA: 0x001F3DD8 File Offset: 0x001F1FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournGetSettleInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tournFinishInfo_ != null)
			{
				if (this.tournFinishInfo_ == null)
				{
					this.TournFinishInfo = new RogueTournFinishInfo();
				}
				this.TournFinishInfo.MergeFrom(other.TournFinishInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B985 RID: 47493 RVA: 0x001F3E40 File Offset: 0x001F2040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B986 RID: 47494 RVA: 0x001F3E4C File Offset: 0x001F204C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.tournFinishInfo_ == null)
					{
						this.TournFinishInfo = new RogueTournFinishInfo();
					}
					input.ReadMessage(this.TournFinishInfo);
				}
			}
		}

		// Token: 0x04004AAC RID: 19116
		private static readonly MessageParser<RogueTournGetSettleInfoScRsp> _parser = new MessageParser<RogueTournGetSettleInfoScRsp>(() => new RogueTournGetSettleInfoScRsp());

		// Token: 0x04004AAD RID: 19117
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004AAE RID: 19118
		public const int TournFinishInfoFieldNumber = 6;

		// Token: 0x04004AAF RID: 19119
		private RogueTournFinishInfo tournFinishInfo_;

		// Token: 0x04004AB0 RID: 19120
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04004AB1 RID: 19121
		private uint retcode_;
	}
}
